

package com.yz.service;


import com.baomidou.mybatisplus.service.IService;
import com.yz.common.entity.UserEntity;
import com.yz.form.LoginForm;
import com.yz.form.RegisterForm;


import java.util.List;
import java.util.Map;

/**
 * 用户
 * 
 * @author yz

 *
 */
public interface UserService extends IService<UserEntity> {
	List<UserEntity> queryByMobile(String mobile);

	/**
	 * 用户登录
	 * @param form    登录表单
	 * @return        返回登录信息
	 */
	Map<String, Object> login(LoginForm form);

	boolean register(RegisterForm form);
}
